<?php

	 echo "<h2 id='contentTitle'>".$pageTitle."</h2>";
	 echo $this->renderElement('message');

    echo $form->create('Image', array('action' => 'edit'));


	$filename = $image['Image']['filename'];

	echo '<div style="text-align:left; display:inline;" > '.$html->image($filename,array('style'=>'max-width:400px;max-height:400px')).' </div>
					<div style="position:absolute; text-align:left; display:inline; margin-left:15px;">';
	 echo $form->hidden('album_id');	 
	 echo $form->input('legenda',array('style'=>'width:300px'));	 
	 echo $form->label('Descrição');	
    echo $form->textarea('descricao',array('style'=>'width:300px'));
    echo $form->submit('Salvar Alterações');
    echo '<p> <b> <a href="'.$html->url('/images/show/'.$image['Image']['id']).'">Voltar</a></b></p>';

				echo '	</div>';









	 

    echo $form->end();


?>

